package com.bdmc.alarm.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.bdmc.common.core.domain.BaseEntity;


/**
 * 报警规则详细配置对象 alarm_rule_config
 *
 * @author bdmc
 * @date 2022-03-06
 */
@Data
@Accessors(chain = true)
@TableName("alarm_rule_config")
public class AlarmRuleConfig  {

    private static final long serialVersionUID=1L;

    /**
     * 规则详细配置id
     */
    @TableId(value = "rule_config_id")
    private Long ruleConfigId;
    /**
     * 报警规则id
     */
    private Long alarmRuleId;
    /**
     * 违规名称
     */
    private String ruleConfigName;
    /**
     * 规则配置类型-字典
     */
    private String ruleConfigType;
    /**
     * 最大停留分钟
     */
    private Integer stopMaxMinute;
    /**
     * 容许离岗最长分钟
     */
    private Integer outMaxMinute;
    /**
     * 容许离岗次数
     */
    private Long outMaxTimes;
    /**
     * 是否启用
     */
    private Integer enabled;
    /**
     * 备注
     */
    private String remark;

}
